←Select platform

SetExtendedData(byte,byte[]) Method

Summary
Sets the extended data associated with the specified Presentation Context.
Syntax
C#
VB
C++
public void SetExtendedData( 
   byte id, 
   byte[] data 
) 
Public Overloads Sub SetExtendedData( _ 
   ByVal id As Byte, _ 
   ByVal data() As Byte _ 
)  
public: 
void SetExtendedData(  
   byte id, 
   array<byte>^ data 
)  

Parameters

id
Presentation Context ID of the Presentation Context to which to set the extended data. The ID provides information about both the class type of the data and the Transfer Syntax to use when transferring the data. It also identifies a specific Presentation Context within an Associate.

data
Buffer that contains the data to set.

Remarks

To retrieve the length of the extended data associated with a Presentation Context, call GetExtendedDataLength. To get the extended data associated with a Presentation Context, call GetExtendedData or GetExtendedDataPtr.

Example

For an example, refer to IsRoleSelect.

Requirements

Target Platforms

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.